package com.gcxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gcxy.conf.result.R;
import com.gcxy.dto.FenceDto;
import com.gcxy.entity.Fence;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiang
 * @since 2023-12-12
 */
public interface FenceService extends IService<Fence> {

    R addFence(Fence fence);

    R<Page<FenceDto>> getFenceByPage(FenceDto fenceDto);

    R updateFence(Fence fence);

    R updateIsEnable(Fence fence);
}
